package com.qiyu.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author idea
 * @data 2020/1/22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PageResponseDTO<T> implements Serializable {

    private static final long serialVersionUID = 2302156770199388278L;

    private Integer page;

    private Integer pageSize;

    private List<T> pageData;

    private Integer total;
}
